Repository navigation
Conversation
PR summary bca4923d9e
|
| Files | Import difference |
|---|---|
35 filesMathlib.Analysis.Fourier.ZMod Mathlib.Analysis.SpecialFunctions.Complex.CircleAddChar Mathlib.NumberTheory.AddCharacter.Trace Mathlib.NumberTheory.Cyclotomic.Discriminant Mathlib.NumberTheory.Cyclotomic.Gal Mathlib.NumberTheory.Cyclotomic.PrimitiveRoots Mathlib.NumberTheory.DirichletCharacter.GaussSum Mathlib.NumberTheory.FLT.Three Mathlib.NumberTheory.Fermat Mathlib.NumberTheory.GaussSum Mathlib.NumberTheory.JacobiSum.Basic Mathlib.NumberTheory.LSeries.DirichletContinuation Mathlib.NumberTheory.LSeries.Nonvanishing Mathlib.NumberTheory.LSeries.PrimesInAP Mathlib.NumberTheory.LSeries.WeakPNT Mathlib.NumberTheory.LSeries.ZMod Mathlib.NumberTheory.LSeries.ZetaZeros Mathlib.NumberTheory.LegendreSymbol.AddCharacter Mathlib.NumberTheory.LegendreSymbol.Complex Mathlib.NumberTheory.LegendreSymbol.JacobiSymbol Mathlib.NumberTheory.LegendreSymbol.QuadraticChar.GaussSum Mathlib.NumberTheory.LegendreSymbol.QuadraticReciprocity Mathlib.NumberTheory.LucasLehmer Mathlib.NumberTheory.NumberField.CMField Mathlib.NumberTheory.NumberField.Cyclotomic.Basic Mathlib.NumberTheory.NumberField.Cyclotomic.Embeddings Mathlib.NumberTheory.NumberField.Cyclotomic.Galois Mathlib.NumberTheory.NumberField.Cyclotomic.PID Mathlib.NumberTheory.NumberField.Cyclotomic.Three Mathlib.NumberTheory.NumberField.Ideal.Basic Mathlib.NumberTheory.PrimesCongruentOne Mathlib.RingTheory.LittleWedderburn Mathlib.RingTheory.Polynomial.Cyclotomic.Eval Mathlib.Tactic.NormNum.LegendreSymbol Mathlib.Tactic |
1 |
Mathlib.RingTheory.RootsOfUnity.Quotient (new file) |
2017 |
Mathlib.NumberTheory.MulChar.Teichmuller (new file) |
2020 |
Mathlib.NumberTheory.NumberField.Cyclotomic.StickelbergerPrereqs (new file) |
3708 |
Mathlib.NumberTheory.NumberField.Cyclotomic.Stickelberger (new file) |
3709 |
Declarations diff (regex)
+ ArithmeticFunction.isMultiplicative_totient
+ ArithmeticFunction.totient
+ ArithmeticFunction.totient_apply
+ ExpChar.not_dvd_orderOf
+ Finset.multiplicity_prod
+ Fintype.prod_compl_zero
+ Ideal.HasTeichmullerLift
+ Ideal.HasTeichmullerLift.equiv
+ Ideal.HasTeichmullerLift.equiv_apply
+ Ideal.HasTeichmullerLift.of_card
+ Ideal.HasTeichmullerLift.of_card_of_isPrime
+ Ideal.Quotient.isScalarTower_of_liesOver_liesOver
+ Ideal.liesOver_of_absNorm_dvd_prime_pow
+ Ideal.pow_liesOver_of_le_ramificationIdx
+ Ideal.prime_of_isMaximal
+ IntermediateField.finrank_sup_eq_of_inf_eq_bot
+ IntermediateField.finrank_sup_mul_finrank_inf_eq
+ IntermediateField.linearDisjoint_iff_linearDisjoint_fieldRange
+ IsCyclotomicExtension.Rat.gcd_inf
+ IsCyclotomicExtension.Rat.isCoprime_discr_of_coprime
+ IsCyclotomicExtension.Rat.linearDisjoint_of_coprime
+ IsCyclotomicExtension.Rat.map_galEquivZMod_symm_apply
+ IsCyclotomicExtension.Rat.map_galEquivZMod_symm_smul
+ IsFractionRing.map_algebraMap
+ IsGaloisGroup.restrictHom_eq_restrictHom
+ IsGaloisGroup.restrictHom_eq_restrictNormal
+ IsPrimitiveRoot.isIntegral'
+ IsPrimitiveRoot.not_coprime_absNorm_of_mk_eq_one
+ List.sum_getElem_rotate
+ MulSemiringAction.toRingHom_mul
+ MulSemiringAction.toRingHom_one
+ Nat.base_mul_ofDigits_modEq
+ Nat.base_pow_mul_ofDigits_modEq
+ Nat.digits_base_pow_sub_one
+ Nat.digits_eq_replicate_base_sub_one_iff
+ Nat.ofDigits_digitsAppend
+ Nat.ofDigits_eq_base_pow_length_sub_one_iff
+ Nat.ofDigits_eq_sum
+ Nat.ofDigits_rotate_lt
+ Nat.sub_one_mul_sum_mul_pow_mod_eq
+ Nat.sum_ofDigits_rotate
+ Nat.totient_lcm_mul_totient_gcd
+ NumberField.isUnit_iff_natAbs_norm
+ ZMod.cast_trace_eq_trace
+ ZMod.map_cast
+ ZMod.orderOf_pow_sub_one
+ _root_.FractionalIdeal.smul_mk0
+ _root_.IsLocalization.map_toRingHom_apply
+ _root_.stickelberger_theorem
+ canonicalEquiv_apply
+ canonicalEquiv_eq_extended
+ canonicalEquiv_smul
+ cast_trace_eq_algebraMap_trace
+ coeIdeal_smul
+ coe_equivPrimesOverPrimesOver_symm_apply
+ coprime_absNorm_of_isCoprime_span_singleton
+ equivPrimesOverPrimesOver
+ equivUnits
+ equivUnits_add
+ equivUnits_apply
+ equivUnits_spec
+ eval_one_cyclotomic_of_not_isPrimePow
+ exists_equivUnits_eq
+ exists_gaussSum_pow_eq_algebraMap
+ exists_isMaximal_le_of_prime_dvd_absNorm
+ exists_natAbs_norm_gaussSum_eq_pow
+ exists_teichmuller_zpow_apply_eq_pow
+ extendedMulDistribMulAction
+ extendedSMul
+ extendedSMul_def
+ extended_id
+ finiteMultiplicity_gaussSum
+ finiteMultiplicity_jacobiSum
+ galEquivZMod_symm_unitsMap_restrictGalEquivZMod
+ gaussSum
+ gaussSum_add_of_dvd
+ gaussSum_congr
+ gaussSum_def
+ gaussSum_eq_neg_one_of_dvd
+ gaussSum_frob
+ gaussSum_mem
+ gaussSum_mem_span_zeta_sub_one
+ gaussSum_mul_gaussSum
+ gaussSum_mul_gaussSum_neg
+ gaussSum_ne_zero
+ gaussSum_zero
+ hasTeichmullerLift
+ instance : MulDistribMulAction G (ClassGroup R)
+ instance : MulDistribMulAction G (FractionalIdeal R⁰ K)
+ instance : MulSemiringAction G (FractionRing R)
+ instance : SMul G (ClassGroup R)
+ instance {n : ℕ} [NeZero n] {K : Type*} [Field K] [NumberField K] [IsCyclotomicExtension {n} ℚ K] :
+ isPrincipal_prod_smul_pow_of_coprime
+ isPrincipal_prod_smul_pow_of_orderOf_eq
+ isUnit_sub_one_iff
+ isUnit_sub_one_iff_isUnit_eval_one_cyclotomic
+ isUnit_sub_one_iff_of_prime_pow
+ isUnit_sub_one_of_not_isPrimePow
+ jacobiSum
+ jacobiSum_ne_zero
+ liesOver_under_of_liesOver
+ mapAut
+ map_ringHomComp_teichmuller_zpow_apply
+ mk_gaussSum_one_eq_neg_zeta_sub_one
+ mk_teichmuller_apply
+ mk_teichmuller_apply_coe
+ modEq_one_of_apply_eq_pow
+ mul_valGauss_eq
+ mul_valGauss_eq_mul_sum
+ multiplicity_smul
+ not_dvd_pow_self_sub_one
+ not_isUnit_gaussSum
+ orderOf_teichmuller
+ primesOverToUnits
+ primesOverToUnits_apply
+ primesOverToUnits_injective
+ primesOverToUnits_spec
+ primesOverToUnits_surjective
+ primesOver_mem_orbit
+ principalIdeals_le_comap
+ ramificationIdx_eq_sub_one
+ ramificationIdx_eq_sub_one'
+ ramificationIdx_under_eq_one
+ restrictGalEquivZMod
+ restrictGalEquivZMod_apply
+ restrictGalEquivZMod_apply_of_pow_eq
+ restrictNormal_smul_eq
+ ringHomComp_teichmuller_zpow_ne_one
+ rootsOfUnityMapQuot
+ rootsOfUnityMapQuot_apply
+ rootsOfUnityMapQuot_coe_apply
+ rootsOfUnityMapQuot_inj
+ rootsOfUnityMapQuot_injective
+ rootsOfUnityMapQuot_injective_of_notMem
+ smul_def
+ smul_eq_galRestrict_apply
+ smul_gaussSum_eq_mul_gaussSum
+ smul_gaussSum_eq_mul_restrictGalEquivZMod
+ smul_gaussSum_eq_self
+ smul_gaussSum_pow_eq_self
+ smul_mk
+ smul_mk'
+ smul_mk0
+ smul_teichmuller_zpow_apply_eq_mul_restrictGalEquivZMod
+ smul_teichmuller_zpow_apply_eq_self
+ smul_traceChar_apply_eq_mulShift
+ smul_traceChar_apply_eq_self
+ spanSingleton_smul
+ span_singleton_eq_prod_of_gaussSum_pow_eq
+ span_singleton_gaussSum_eq_prod
+ sum_equivUnits
+ sum_inv_mul_pow_succ
+ sum_pow_of_ne_zero
+ sum_teichmuller_inv_mul_cast_trace
+ sum_teichmuller_inv_mul_cast_trace_aux
+ sum_univ_id_eq_ite
+ teichmuller
+ teichmuller_apply_coe
+ teichmuller_apply_coe_pow_eq_one
+ teichmuller_mk_coe
+ teichmuller_ne_one
+ teichmuller_ne_one_iff
+ teichmuller_pow_eq_one
+ teichmuller_zpow_eq_one_of_dvd
+ three_le_pow
+ two_mul_sum_valGauss
+ unitRep
+ unitRep_spec
+ valGauss
+ valGauss_add_le
+ valGauss_add_valGauss
+ valGauss_add_valGauss_neg
+ valGauss_add_valGauss_sub
+ valGauss_congr
+ valGauss_eq_sum_digits
+ valGauss_eq_zero_of_dvd
+ valGauss_eq_zero_of_not_liesOver
+ valGauss_le_self
+ valGauss_le_sum_digits
+ valGauss_ofDigits_le_sum
+ valGauss_one
+ valGauss_smul
+ valGauss_zero
+ zeta_sub_one_mem
+ zeta_sub_one_notMem_sq
- Ideal.rootsOfUnityMapQuot
- Ideal.rootsOfUnityMapQuot_apply
- Ideal.rootsOfUnityMapQuot_inj
- Ideal.rootsOfUnityMapQuot_injective
You can run this locally as follows
## from your `mathlib4` directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
## summary with just the declaration names:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh <optional_commit>
## more verbose report:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh long <optional_commit>The doc-module for scripts/pr_summary/declarations_diff.sh in the mathlib-ci repository contains some details about this script.
Declarations diff (Lean)
✅ Lean-aware diff — post-build, computed from the Lean environment (commit
bca4923).
- +202 new declarations
- −0 removed declarations
(showing first 200 of 202 lines)
+ArithmeticFunction.isMultiplicative_totient
+ArithmeticFunction.totient
+ArithmeticFunction.totient_apply
+ClassGroup.instMulDistribMulAction
+ClassGroup.instMulSemiringActionFractionRing
+ClassGroup.instSMul
+ClassGroup.mapAut
+ClassGroup.principalIdeals_le_comap
+ClassGroup.smul_mk
+ClassGroup.smul_mk'
+ClassGroup.smul_mk0
+ExpChar.not_dvd_orderOf
+FiniteField.sum_inv_mul_pow_succ
+FiniteField.sum_pow_of_ne_zero
+FiniteField.sum_univ_id_eq_ite
+Finset.multiplicity_prod
+Fintype.prod_compl_zero
+Fintype.sum_compl_zero
+FractionalIdeal.canonicalEquiv_apply
+FractionalIdeal.canonicalEquiv_eq_extended
+FractionalIdeal.canonicalEquiv_smul
+FractionalIdeal.coeIdeal_smul
+FractionalIdeal.extendedMulDistribMulAction
+FractionalIdeal.extendedSMul
+FractionalIdeal.extendedSMul_def
+FractionalIdeal.extended_id
+FractionalIdeal.instMulDistribMulActionNonZeroDivisors
+FractionalIdeal.smul_def
+FractionalIdeal.smul_mk0
+FractionalIdeal.spanSingleton_smul
+Ideal.HasTeichmullerLift
+Ideal.HasTeichmullerLift.bijective_rootsOfUnityMapQuot
+Ideal.HasTeichmullerLift.casesOn
+Ideal.HasTeichmullerLift.equiv
+Ideal.HasTeichmullerLift.equiv.congr_simp
+Ideal.HasTeichmullerLift.equiv_apply
+Ideal.HasTeichmullerLift.mk
+Ideal.HasTeichmullerLift.of_card
+Ideal.HasTeichmullerLift.of_card_of_isPrime
+Ideal.HasTeichmullerLift.rec
+Ideal.HasTeichmullerLift.recOn
+Ideal.Quotient.isScalarTower_of_liesOver_liesOver
+Ideal.coe_equivPrimesOverPrimesOver_symm_apply
+Ideal.coprime_absNorm_of_isCoprime_span_singleton
+Ideal.equivPrimesOverPrimesOver
+Ideal.equivPrimesOverPrimesOver.congr_simp
+Ideal.exists_isMaximal_le_of_prime_dvd_absNorm
+Ideal.liesOver_of_absNorm_dvd_prime_pow
+Ideal.mapHom.congr_simp
+Ideal.pow_liesOver_of_le_ramificationIdx
+Ideal.prime_of_isMaximal
+Ideal.rootsOfUnityMapQuot_coe_apply
+Ideal.rootsOfUnityMapQuot_injective_of_notMem
+Ideal.torsionMapQuot.congr_simp
+IntermediateField.finrank_sup_eq_of_inf_eq_bot
+IntermediateField.finrank_sup_mul_finrank_inf_eq
+IntermediateField.linearDisjoint_iff_linearDisjoint_fieldRange
+IsCyclotomicExtension.Rat.gcd_inf
+IsCyclotomicExtension.Rat.isCoprime_discr_of_coprime
+IsCyclotomicExtension.Rat.linearDisjoint_of_coprime
+IsCyclotomicExtension.Rat.map_galEquivZMod_symm_apply
+IsCyclotomicExtension.Rat.map_galEquivZMod_symm_smul
+IsFractionRing.map_algebraMap
+IsGaloisGroup.restrictHom_eq_restrictHom
+IsGaloisGroup.restrictHom_eq_restrictNormal
+IsLocalization.map_toRingHom_apply
+IsPrimitiveRoot.isIntegral'
+IsPrimitiveRoot.isUnit_sub_one_iff
+IsPrimitiveRoot.isUnit_sub_one_iff_isUnit_eval_one_cyclotomic
+IsPrimitiveRoot.isUnit_sub_one_iff_of_prime_pow
+IsPrimitiveRoot.isUnit_sub_one_of_not_isPrimePow
+IsPrimitiveRoot.not_coprime_absNorm_of_mk_eq_one
+List.sum_getElem_rotate
+MulChar.exists_teichmuller_zpow_apply_eq_pow
+MulChar.map_ringHomComp_teichmuller_zpow_apply
+MulChar.mk_teichmuller_apply
+MulChar.mk_teichmuller_apply_coe
+MulChar.orderOf_teichmuller
+MulChar.teichmuller
+MulChar.teichmuller.congr_simp
+MulChar.teichmuller_apply_coe
+MulChar.teichmuller_apply_coe_pow_eq_one
+MulChar.teichmuller_mk_coe
+MulChar.teichmuller_ne_one_iff
+MulChar.teichmuller_pow_eq_one
+MulChar.teichmuller_zpow_eq_one_of_dvd
+MulSemiringAction.toRingHom_mul
+MulSemiringAction.toRingHom_one
+Nat.base_mul_ofDigits_modEq
+Nat.base_pow_mul_ofDigits_modEq
+Nat.digits_base_pow_sub_one
+Nat.digits_eq_replicate_base_sub_one_iff
+Nat.ofDigits_digitsAppend
+Nat.ofDigits_eq_base_pow_length_sub_one_iff
+Nat.ofDigits_eq_sum
+Nat.ofDigits_rotate_lt
+Nat.sub_one_mul_sum_mul_pow_mod_eq
+Nat.sum_ofDigits_rotate
+Nat.totient_lcm_mul_totient_gcd
+NumberField.isUnit_iff_natAbs_norm
+Polynomial.eval_one_cyclotomic_of_not_isPrimePow
+Stickelberger.cast_trace_eq_algebraMap_trace
+Stickelberger.equivUnits
+Stickelberger.equivUnits.congr_simp
+Stickelberger.equivUnits_add
+Stickelberger.equivUnits_apply
+Stickelberger.equivUnits_spec
+Stickelberger.exists_equivUnits_eq
+Stickelberger.exists_gaussSum_pow_eq_algebraMap
+Stickelberger.exists_natAbs_norm_gaussSum_eq_pow
+Stickelberger.finiteMultiplicity_gaussSum
+Stickelberger.finiteMultiplicity_jacobiSum
+Stickelberger.galEquivZMod_symm_unitsMap_restrictGalEquivZMod
+Stickelberger.gaussSum
+Stickelberger.gaussSum.congr_simp
+Stickelberger.gaussSum_add_of_dvd
+Stickelberger.gaussSum_congr
+Stickelberger.gaussSum_def
+Stickelberger.gaussSum_eq_neg_one_of_dvd
+Stickelberger.gaussSum_frob
+Stickelberger.gaussSum_mem
+Stickelberger.gaussSum_mem_span_zeta_sub_one
+Stickelberger.gaussSum_mul_gaussSum
+Stickelberger.gaussSum_mul_gaussSum_neg
+Stickelberger.gaussSum_ne_zero
+Stickelberger.gaussSum_zero
+Stickelberger.hasTeichmullerLift
+Stickelberger.instFintypeQuotientRingOfIntegersSubtypeMemIntermediateFieldRatIdealOfNeZero
+Stickelberger.isPrincipal_prod_smul_pow_of_coprime
+Stickelberger.isPrincipal_prod_smul_pow_of_orderOf_eq
+Stickelberger.jacobiSum
+Stickelberger.jacobiSum.congr_simp
+Stickelberger.jacobiSum_ne_zero
+Stickelberger.liesOver_under_of_liesOver
+Stickelberger.mk_gaussSum_one_eq_neg_zeta_sub_one
+Stickelberger.modEq_one_of_apply_eq_pow
+Stickelberger.mul_valGauss_eq
+Stickelberger.mul_valGauss_eq_mul_sum
+Stickelberger.not_dvd_pow_self_sub_one
+Stickelberger.not_isUnit_gaussSum
+Stickelberger.primesOverToUnits
+Stickelberger.primesOverToUnits.congr_simp
+Stickelberger.primesOverToUnits_apply
+Stickelberger.primesOverToUnits_injective
+Stickelberger.primesOverToUnits_spec
+Stickelberger.primesOverToUnits_surjective
+Stickelberger.primesOver_mem_orbit
+Stickelberger.ramificationIdx_eq_sub_one
+Stickelberger.ramificationIdx_eq_sub_one'
+Stickelberger.ramificationIdx_under_eq_one
+Stickelberger.restrictGalEquivZMod
+Stickelberger.restrictGalEquivZMod.congr_simp
+Stickelberger.restrictGalEquivZMod_apply
+Stickelberger.restrictGalEquivZMod_apply_of_pow_eq
+Stickelberger.restrictNormal_smul_eq
+Stickelberger.ringHomComp_teichmuller_zpow_ne_one
+Stickelberger.smul_gaussSum_eq_mul_gaussSum
+Stickelberger.smul_gaussSum_eq_mul_restrictGalEquivZMod
+Stickelberger.smul_gaussSum_eq_self
+Stickelberger.smul_gaussSum_pow_eq_self
+Stickelberger.smul_teichmuller_zpow_apply_eq_mul_restrictGalEquivZMod
+Stickelberger.smul_teichmuller_zpow_apply_eq_self
+Stickelberger.smul_traceChar_apply_eq_mulShift
+Stickelberger.smul_traceChar_apply_eq_self
+Stickelberger.span_singleton_eq_prod_of_gaussSum_pow_eq
+Stickelberger.span_singleton_gaussSum_eq_prod
+Stickelberger.sum_equivUnits
+Stickelberger.teichmuller_ne_one
+Stickelberger.three_le_pow
+Stickelberger.two_mul_sum_valGauss
+Stickelberger.unitRep
+Stickelberger.unitRep.congr_simp
+Stickelberger.unitRep_spec
+Stickelberger.valGauss
+Stickelberger.valGauss.congr_simp
+Stickelberger.valGauss_add_le
+Stickelberger.valGauss_add_valGauss
+Stickelberger.valGauss_add_valGauss_neg
+Stickelberger.valGauss_add_valGauss_sub
+Stickelberger.valGauss_congr
+Stickelberger.valGauss_eq_sum_digits
+Stickelberger.valGauss_eq_zero_of_dvd
+Stickelberger.valGauss_eq_zero_of_not_liesOver
+Stickelberger.valGauss_le_self
+Stickelberger.valGauss_le_sum_digits
+Stickelberger.valGauss_ofDigits_le_sum
+Stickelberger.valGauss_one
+Stickelberger.valGauss_smul
+Stickelberger.valGauss_zero
+Stickelberger.zeta_sub_one_mem
+Stickelberger.zeta_sub_one_notMem_sq
+ZMod.cast_trace_eq_trace
+ZMod.map_cast
+ZMod.orderOf_pow_sub_one
+instFactCoprimeHSubNatHPowOfNat
+instFactCoprimeHSubNatHPowOfNat_1
+instHasEnoughRootsOfUnityRingOfIntegersOfNeZeroOfIsCyclotomicExtensionSingletonNatSetRat
+instNeZeroNatHSubHPowOfNat_mathlib
+instNeZeroNatHSubHPowOfNat_mathlib_1
+multiplicity_smulIncrease in strong tech debt: (relative, absolute) = (2.00, 0.67)
| Current number | Change | Type (strong) |
|---|---|---|
| 3562 | 2 | backward.isDefEq.respectTransparency |
| 3 | 2 | maxHeartbeats modifications |
Increase in weak tech debt: (relative, absolute) = (1.00, 0.00)
| Current number | Change | Type (weak) |
|---|---|---|
| 5156 | 1 | exposed public sections |
Current commit bca4923d9e
Reference commit a495318fed
This script lives in the mathlib-ci repository. To run it locally, from your mathlib4 directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/scripts/reporting/technical-debt-metrics.py pr_summary
- The
relativevalue is the weighted sum of the differences with weight given by the inverse of the current value of the statistic. - The
absolutevalue is therelativevalue divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).
|
This pull request has conflicts, please merge |
This PR proves Stickelberger's theorem: for
k = ℚ(μ_m), the element∑ a • σₐ⁻¹ofℤ[Gal(k/ℚ)], wherearuns over the representatives in[0, m)of the units ofZMod m, annihilates the class group ofk. The proof follows Washington, Introduction to Cyclotomic Fields, §6.2, through the factorization of Gauss sums attached to the Teichmüller character.This PR is not ready for review yet. It shows the complete proof compiling against Mathlib and tracks the progress of its upstreaming. The file
StickelbergerPrereqs.leantemporarily gathers the results needed for the proof that are not yet in Mathlib; they will be submitted in separate PRs, and this PR will shrink as they are merged.🤖 This PR was extracted from the SKW project by Claude.
ζ - 1a unit #45220SMulCommClass G (𝓞 K) (𝓞 L)instance #46234